Compress method
Applies to the ecCompress control only. The Compress method creates the cabinet file specified in the Filename property, adding all of the files in the Files collection.
Syntax
object.Compress
Part | Description |
object | The object being manipulated. |
Remarks
The progress of the Compress operation will be reported by Progress events.
In most cases, you will want to compress the files, but if the cabinet contains only files that are already compressed, such as ZIP, CAB, or JPEG files, you may specify UseCompression = False to have the files not be compressed. This will usually result in a larger cabinet size, but a much quicker operation.
See Also
Progress event, UseCompression property, Filename property, Files collection